#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "pirateAcorn.h"

int main() {
  int fd, result;
  printf("This case tests the very basic functionality of the ioc stop processing write markers command\n");
  if ((fd = open ("/dev/pirateAcorn0", O_WRONLY)) == -1) {
    perror("error opening file");
    return -1;
  }
  ioctl(fd,PA_IOCWRITESTOP);
  close(fd);
  return 0;
}
